package chu.dejian.entity;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2015/11/19 0019.
 */
public class ClockEntity {
    public enum REPEAT_MOD {NO_REPATE,EVERYDAY,EVERY_WEEK,WEEK1357,WEEK246,WORKDAY,WEEKEND,EVERY_MONTH}

    String clockTimeStr;
    String repeatTimeStr;
    long clockTimeStamp;
    REPEAT_MOD repeatMod;
    boolean enableClock;

    Map<REPEAT_MOD,String> repeateModeMap = new HashMap<>();

    public ClockEntity(){
        clockTimeStamp = System.currentTimeMillis();

    }

    public long getClockTimeStamp() {
        return clockTimeStamp;
    }

    public void setClockTimeStamp(long clockTimeStamp) {
        this.clockTimeStamp = clockTimeStamp;
    }

    public REPEAT_MOD getRepeatMod() {
        return repeatMod;
    }

    public void setRepeatMod(REPEAT_MOD repeatMod) {
        this.repeatMod = repeatMod;
    }

    public boolean isEnable() {
        return enableClock;
    }

    public void setEnable(boolean enable) {
        this.enableClock = enable;
    }
}
